export default {
    namespaced:true,
    state:{
     userInfo: {
         name: 'tom',
         skills: ['抖音', 'B站', '美团'],
         address: '武汉黑马',
         logo: 'https://vuejs.org/images/logo.svg'
         //  https://www.runoob.com/wp-content/uploads/2016/02/react.png
     },
    },
    mutations:{
     changelogo(state, { newlogo, newname }) {
         state.userInfo.logo = newlogo
         state.userInfo.name = newname
     },
    }
}